#pragma once

#include "CRenderNode_AL.h"
#include "CRendererIncludes.h"
#include "CCamera_AL.h"

class C3DNode_AL : CRenderNode_AL
{
private:
	IDirect3DTexture9*		m_pTexture;

public:
	D3DXMATRIX				m_mPosition;
	IDirect3DVertexBuffer9*			m_vVertBuffer;
	IDirect3DVertexDeclaration9*	m_vVertDecl;
	IDirect3DIndexBuffer9*			m_vIndexBuffer;

	C3DNode_AL(void);
	C3DNode_AL(IDirect3DTexture9* _pTexture, D3DXMATRIX _mPos, short _sRenderType = 2);
	~C3DNode_AL(void);
	void Draw(cCamera_AL* _pCamera);
};